package com.cai.test;

public class Leiadd {
	public static void main(String[] args) {
		int sum=0;
		for(int i=1;i<=100;i++) {
			int ss=0;
			for(int j=1;j<=i;j++)
				ss+=j;
			sum+=ss;
		}
		
		
		System.out.println("sum="+sum);
	}
}
